package com.crm.crm.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Contract {
    private Long id;
    /**
     * 合同编号
     */
    private String contractNo;
    private String name;
    private String phone;
    private String subject;
    private Integer courseId;
    private BigDecimal coursePrice;
    @TableField("`order`")
    private BigDecimal orderAmount;
    private String discountType;
    /**
     * 文件合同路径
     */
    private String fileName;
    private String status;
    private Integer activityId;
    private Integer businessId;
    /**
     * 渠道来源
     */
    private String channel;
    private Integer deptId;
    private String createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private String updateBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date finishTime;

}
